package com.juneng.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 课程观看记录表实体类
 *
 * @author zds
 * @since 2021-07-08
 */
@Data
@ApiModel(value = "CourseLog对象", description = "课程观看记录表")
@TableName("course_log")
public class CourseLog implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 记录表id
     */
  @ApiModelProperty(value = "记录表id")
  @TableId(value = "log_id", type = IdType.AUTO)

  private Long logId;
    /**
     * 伪删除
     */
  @ApiModelProperty(value = "伪删除")

  private Integer courseStatus;
    /**
     * 创建时间
     */
  @ApiModelProperty(value = "创建时间")

  private LocalDateTime courseDate;
    /**
     * 更新时间
     */
  @ApiModelProperty(value = "更新时间")

  private LocalDateTime courseUpdateDate;
    /**
     * 视频id
     */
  @ApiModelProperty(value = "视频id")

  private Long sectionId;
    /**
     * 用户id
     */
  @ApiModelProperty(value = "用户id")

  private Long userId;
    /**
     * 用户观看时间
     */
  @ApiModelProperty(value = "用户观看时间")

  private String time;
    /**
     * 课程id
     */
  @ApiModelProperty(value = "课程id")

  private Long courseId;


}
